package cn.damai.search.mapper;

import cn.damai.model.Scheduler;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SchedulerMapper {

	Scheduler getSchedulerById(@Param(value = "id") Long id);

	List<Scheduler>	getSchedulerListByMap(Map<String, Object> param);

	Integer getSchedulerCountByMap(Map<String, Object> param);

	Integer insertScheduler(Scheduler Scheduler);

	Integer updateScheduler(Scheduler Scheduler);

//	Integer deleteSchedulerById(@Param(value = "id") Long id);
//
//	Integer batchDeleteScheduler(Map<String,List<String>> params);

}
